package ink.lvxin.datastructure.utils;

import java.util.Random;

public class NumberUtils {
    public static int[] getAbigArr(int length) {
        Random r = new Random();
        int[] arr = new int[length];
        for (int i = 0; i < length; i++) {
            arr[i] = r.nextInt(length * 2);
        }

        return arr;
    }

    public static int[] getBigSortedArr(int length,int start) {
        int[] arr = new int[length];
        for (int i = 0; i < length; i++) {
            arr[i] =start;
            start += 1;
        }

        return arr;

    }
}
